OBJECT_COMMON = ./src/*.c
LIBRARY_COMMON = ./bin/*.o
OUTPUT_COMMON = ./../common/bin/
OUTPUT_COMMON_TRANSPORT = ./../transport/bin/
OUTPUT_COMMON_APPLICATION = ./../application/bin/

FLAG_BUILD = -D_REENTRANT -lpthread

obj_common:
	cc -c $(OBJECT_COMMON) $(FLAG_BUILD)
	cp -rf *.o $(OUTPUT_COMMON_TRANSPORT)
	cp -rf *.o $(OUTPUT_COMMON_APPLICATION)
	mv -f *.o $(OUTPUT_COMMON)
	
clean:
	rm -f ./*.o
	